import { lazy } from 'react'
import { createBrowserRouter } from 'react-router-dom'
const Home = lazy(() => import('../assets/home/index'))
const Classify = lazy(() => import('../assets/classify/index'))
const Layout = lazy(() => import('../assets/classify/index'))
const Socket = lazy(() => import('../assets/socket/index'))
const router = createBrowserRouter([
    { path: '/home', element: <Home /> },
    { path: '/clss', element: <Classify /> },
    { path: '/socket', element: <Socket /> }
])


export default router